/**
 * @Description: gitlab接口
 * @author Beon
 * @date 2021/1/25
*/
import {AxiosDec} from '../decorators/axiosDec';

export class GitLab {
    @AxiosDec.Get('/api/v4/user', true, {})
    static userCheck: any

    @AxiosDec.Get('/api/v4/projects', true, {})
    static projectGet: any

    @AxiosDec.Get('/api/v4/projects/${projectId}/repository/branches?per_page=-1', true, {})
    static projectBranch: any

    @AxiosDec.Get('/api/v4/projects/${projectId}/members/all?per_page=-1', true, {})
    static projectMember: any

    @AxiosDec.Post('/api/v4/projects/${projectId}/merge_requests', true, {})
    static mergeRequests: any
}
